Skip to content

feat(database)!: introduce eloquent-style ORM layer and refactor clause handling#1

Open
mdalaminbey wants to merge 6 commits intomasterfrom
eloquent
Open

feat(database)!: introduce eloquent-style ORM layer and refactor clause handling#1
mdalaminbey wants to merge 6 commits intomasterfrom
eloquent

Conversation

@mdalaminbey
Copy link
Member

Add Collection and a full Eloquent-style model layer including
HasAttributes, GuardsAttributes, HasRelationships,
HasTimestamps, HasEvents, and HasFactory concerns.

Enhance Model with relationship support, factories, seeders,
pagination, query grammar, and schema components.
Include related test fixtures and mocks.

Refactor Clause, Having, On, and Where traits:

  • Relax "in" method array type hints to accept non-array inputs
  • Update Join::on to support closures and column-to-column comparisons with boolean operators
  • Standardize clause helper parameters
  • Improve inline documentation

Remove and reorganize legacy relation and test files
as part of the database layer restructuring.

BREAKING CHANGE: clause APIs and Join::on signature have changed,
and the database layer now follows a new ORM-based architecture.

…se handling

Add Collection and a full Eloquent-style model layer including
HasAttributes, GuardsAttributes, HasRelationships,
HasTimestamps, HasEvents, and HasFactory concerns.

Enhance Model with relationship support, factories, seeders,
pagination, query grammar, and schema components.
Include related test fixtures and mocks.

Refactor Clause, Having, On, and Where traits:
- Relax "in" method array type hints to accept non-array inputs
- Update Join::on to support closures and column-to-column comparisons with boolean operators
- Standardize clause helper parameters
- Improve inline documentation

Remove and reorganize legacy relation and test files
as part of the database layer restructuring.

BREAKING CHANGE: clause APIs and Join::on signature have changed,
and the database layer now follows a new ORM-based architecture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant